package com.monk;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
	
//不需要加载数据
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableConfigurationProperties
@RestController
public class SpringBootHello {

	public static void main(String[] args) throws Exception {
		SpringApplication.run(SpringBootHello.class, args);
	}
	
	
	@RequestMapping("hello")
	public String hello() {
		return "hello  SpringBoot2.0!";
	}

	@RequestMapping("put")
	public String put() {
		return "hello  SpringBoot2.0!";
	}



}
